<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>运营数据</title>
    <!--公共样式-->
    <link rel="stylesheet" href="css/global.css">
    <link rel="stylesheet" href="css/secure.css">
    <script src="js/jquery-1.8.2.js"></script>
    <!--公共js-->
    <script src="js/common.js"></script>
    <script src="js/echarts.min.js"></script>
</head>
<body>
<!--head开始-->
<div class="head">
    <!--顶头-->
    <div class="top-head">
        <div class="top-menu">
            <!--左边-->
            <div class="top-left">
                <p>客服热线: &nbsp;400-050-3015</p>
                <!--微信二维码-->
                <div class="mobile">
                    <p class="icc" id="wechat">
                        <i class="Wechat"></i>微信
                    </p>
                    <!--二维码-->
                    <div class="wecgat-rq">
                    </div>
                </div>
                <!--QQ客服-->
                <p class="icc"><a href="javascript:;" target="_blank"><i class="QQ"></i>客服</a></p>

            </div>
            <!--中间-->
            <div class="top-center">
                市场有风险 投资需谨慎
            </div>
            <!--右边-->
            <div class="top-right">
                <a target="_blank" href="enroll-1.html">快速注册</a>
                <a target="_blank" href="login.html">立即登录</a>
                <a target="_blank" href="help-center.html">帮助中心</a>
            </div>
        </div>
    </div>
    <!--LOGO及导航-->
    <div class="top-nav">
        <a href="index.html">
            <div class="logo"></div>
        </a>
        <div class="nav-list">
            <ul class="nav-list-ul">
                <li class="nav-lists"><a target="_blank" href="javascript:;" class="red">首页</a></li>
                <li class="nav-lists"><a target="_blank" href="invest.html">我要出借</a></li>
                <li class="nav-lists"><a target="_blank" href="borrow-money.html">我要借款</a></li>
                <li class="nav-lists arg-show" style="position: relative;">
                    <a target="_blank" href="javascript:;">信息披露</a>
                    <ul class="nav-hides">
                        <li class="nav-hides-list"><a href="operate.html">运营数据</a></li>
                        <li class="nav-hides-list"><a target="_blank" href="secure.html">安全保障</a></li>
                        <li class="nav-hides-list"><a href="business.html">业务模式</a></li>
                        <li class="nav-hides-list"><a target="_blank" href="anenst.html">关于我们</a></li>
                    </ul>
                </li>
                <li class="nav-lists tea-show" style="position: relative;">
                    <a target="_blank" href="javascript:;">出借人教育</a>
                    <ul class="nav-teach">
                        <li class="nav-teach-list"><a href="#">风险教育</a></li>
                        <li class="nav-teach-list"><a href="assess.html">风险评估</a></li>
                        <li class="nav-teach-list"><a href="supervise.html">监管法规</a></li>
                    </ul>
                </li>
                <li class="nav-lists"><a target="_blank" href="Beginners-Guide.html">新手引导</a></li>
                <li class="nav-lists"><a target="_blank" href="my-account.html" class="my-cons"><i class="my-con"></i>我的账户</a>
                </li>
            </ul>
        </div>
    </div>

</div>
<!--head结束-->
<div class="bd clearfix" style="background-color: #eaeaea;">
    <!--运营数据-->
    <div class="operate-banner">
        <p style=" position:absolute; right:0px; top:10px; font-size:16px; color:#3d3d3d;">每日更新（数据截止至：2017-05-02）</p>

        <h3 style="text-align:center; font-size:62px; color:#a70302; font-weight:bold;padding-top: 115px">运营数据</h3>
        <p style="font-size:25px; color:#4e1c00; text-align:center;">已安全运营 <b style="color:#000; font-size:30px;">2</b>
            年 <b style="color:#000; font-size:30px;">327</b> 天</p>
    </div>
    <!--投资数据-->
    <div class="in-data-box">
        <h3 class="data-tit">投资数据</h3>
        <div class="in-data-list">
            <ul class="clearfix" style="margin-left:53px;">
                <li>
                    <p class="p1">62,184.41 <span>万元</span></p>
                    <p class="p2">投资总额</p>
                </li>
                <li>
                    <p class="p1">46,599.36 <span>万元</span></p>
                    <p class="p2">已还本金</p>
                </li>
                <li>
                    <p class="p1">105,200 <span>人</span></p>
                    <p class="p2">投资会员</p>
                </li>
                <li>
                    <p class="p1">3,500.81 <span>万元</span></p>
                    <p class="p2">会员收益</p>
                </li>
            </ul>
        </div>
    </div>
    <!--项目数据-->
    <div class="pro-data-box">
        <h3 class="data-tit">项目数据</h3>
        <div class="pro-alls">
            <div class="pro-data-left">
                <h3 style="color:#d00202; font-size:33px; font-weight:bold;">2108</h3>
                <p style="font-size:18px; color:#5c5c5c;">总项目数 (个)</p>
            </div>
            <div class="pro-data-right">
                <h3 style="color:#d00202; font-size:33px; font-weight:bold;">0</h3>
                <p style="font-size:18px; color:#5c5c5c;">逾期还款项目数 (个)</p>
            </div>
        </div>

        <div class="data-list-box" style="margin:0 auto">
            <div class="data-list">
                <div class="data-list-top">
                    <p class="p1">3</p>
                    <p class="p2">募集中项目(个）</p>
                </div>
                <div class="data-list-bottom">
                    <p class="p1">46.67</p>
                    <p class="p2">项目平均额度(万元）</p>
                </div>
            </div>
            <div class="data-list-img"><img
                    src="https://cdni-m.yonghejinrong.com/i/active/bg-operate.png"></div>
            <div class="data-list">
                <div class="data-list-top">
                    <p class="p1">412</p>
                    <p class="p2">还款中项目(个)</p>
                </div>
                <div class="data-list-bottom">
                    <p class="p1">10.67</p>
                    <p class="p2">项目平均收益率(%)</p>
                </div>
            </div>
            <div class="data-list-img"><img
                    src="https://cdni-m.yonghejinrong.com/i/active/bg-operate.png"></div>
            <div class="data-list">
                <div class="data-list-top">
                    <p class="p1">1694</p>
                    <p class="p2">已成功还款项目(个)</p>
                </div>
                <div class="data-list-bottom">
                    <p class="p1">103.65</p>
                    <p class="p2">项目平均期限(天)</p>
                </div>
            </div>
        </div>
        <div class="echarts-box">
            <!--项目类型分布-->
            <div style="width:575px; height:525px;">
                <h3>项目类型分布</h3>
                <div id="type-data"
                     style="width: 600px; height: 400px; -webkit-tap-highlight-color: transparent; user-select: none; position: relative; background: transparent;"
                     _echarts_instance_="ec_1493796638105">
                    <div style="position: relative; overflow: hidden; width: 600px; height: 400px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;">
                        <canvas width="600" height="400" data-zr-dom-id="zr_0"
                                style="position: absolute; left: 0px; top: 0px; width: 600px; height: 400px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
                    </div>
                    <div></div>
                </div>
            </div>
            <!--项目期限分布-->
            <div style="width:575px; height:525px;">
                <h3>项目期限分布</h3>
                <div id="date-data"
                     style="width: 600px; height: 400px; -webkit-tap-highlight-color: transparent; user-select: none; position: relative; background: transparent;"
                     _echarts_instance_="ec_1493796638106">
                    <div style="position: relative; overflow: hidden; width: 540px; height: 399px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;">
                        <canvas width="600" height="400" data-zr-dom-id="zr_0"
                                style="position: absolute; left: 0px; top: 0px; width: 540px; height: 399px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
                    </div>
                    <div></div>
                </div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <!--会员数据-->
    <div class="lea-data-box">
        <h3 class="data-tit">投资会员数据</h3>
        <div style="width:290px;height:76px; border:1px solid #d5d5d5; margin:0px auto; text-align:center;">
            <h3 style="color:#d00202; font-size:33px; font-weight:bold;">105,200</h3>
            <p style="font-size:18px; color:#5c5c5c;">投资会员 (人)</p>
        </div>
        <div class="clearfix" style="color:#662f0c; font-size:23px; text-align:center; padding-top:80px;">
            <!--投资会员年龄比例-->
            <div style="width:575px; height:445px; float:left;">
                <h3>投资会员年龄比例</h3>
                <div id="age-data"
                     style="width: 600px; height: 400px; -webkit-tap-highlight-color: transparent; user-select: none; position: relative; background: transparent;"
                     _echarts_instance_="ec_1493800138409">
                    <div style="position: relative; overflow: hidden; width: 600px; height: 400px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;">
                        <canvas width="600" height="400" data-zr-dom-id="zr_0"
                                style="position: absolute; left: 0px; top: 0px; width: 600px; height: 400px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
                    </div>
                    <div style="position: absolute; display: none; border-style: solid; white-space: nowrap; z-index: 9999999; transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1); background-color: rgba(50, 50, 50, 0.701961); border-width: 0px; border-color: rgb(51, 51, 51); border-radius: 4px; color: rgb(255, 255, 255); font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 14px; font-family: &quot;Microsoft YaHei&quot;; line-height: 21px; padding: 5px; left: 416.113px; top: 167px;">
                        35-45岁<br><span
                            style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:#abdfec"></span>投资人数占比
                        : 16
                    </div>
                </div>
            </div>
            <!--投资会员性别比例-->
            <div style="width:575px; height:525px; float:left; position:relative;">
                <h3>投资会员性别比例</h3>
                <div style="position:absolute; top:407px; left:405px; font-size:14px;">男</div>
                <div style="position:absolute; top:407px; left:207px; font-size:14px;">女</div>
                <div id="sex-data"
                     style="width: 550px; height: 400px; -webkit-tap-highlight-color: transparent; user-select: none; position: relative; background: transparent;"
                     _echarts_instance_="ec_1493800138410">
                    <div style="position: relative; overflow: hidden; width: 550px; height: 400px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;">
                        <canvas width="550" height="400" data-zr-dom-id="zr_0"
                                style="position: absolute; left: 0px; top: 0px; width: 550px; height: 400px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
                    </div>
                    <div></div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
        <!--会员列表-->
        <div class="data-bank">
            <h3 style="font-size:22px;color:#662f0c; line-height:54px;"><img
                    src="https://cdni-m.yonghejinrong.com/i/active/lt.jpg" style="vertical-align:middle;">&nbsp;投资会员月排行(04月02日-05月02日)
            </h3>
            <table>
                <tbody>
                <tr>
                    <th>排名</th>
                    <th>姓名</th>
                    <th>投资金额</th>
                    <th>加入时间</th>
                </tr>
                <tr>
                    <td>1<!--</td-->
                    </td>
                    <td>何**<!--</td-->
                    </td>
                    <td>950,000.00元</td>
                    <td>26天</td>
                </tr>
                <tr>
                    <td>2<!--</td-->
                    </td>
                    <td>高**<!--</td-->
                    </td>
                    <td>816,300.00元</td>
                    <td>442天</td>
                </tr>
                <tr>
                    <td>3<!--</td-->
                    </td>
                    <td>宁**<!--</td-->
                    </td>
                    <td>690,800.00元</td>
                    <td>385天</td>
                </tr>
                <tr>
                    <td>4<!--</td-->
                    </td>
                    <td>孙**<!--</td-->
                    </td>
                    <td>645,700.00元</td>
                    <td>33天</td>
                </tr>
                <tr>
                    <td>5<!--</td-->
                    </td>
                    <td>项**<!--</td-->
                    </td>
                    <td>600,000.00元</td>
                    <td>44天</td>
                </tr>

                </tbody>
            </table>
            <br><br><br><br>
        </div>
    </div>


</div>
<!--右侧悬浮回到顶部-->
<div class="toolbar" id="rights" style="display: none">
    <a href="#" class="toolbar-item toolbar-item-hint">
        <span class="hint-datas">市场有风险投资需谨慎</span>
    </a>
    <a href="javascript:;" class="toolbar-item toolbar-item-weixin">
        <span class="toolbar-layer"></span>
    </a>
    <a href="Feedback.html" class="toolbar-item toolbar-item-feedback"></a>
    <a href="javascript:;" id="returnTop" class="toolbar-item toolbar-item-top"></a>
</div>

<!--footer开始-->
<div class="footer">
    <div class="foo-conter">
        <div class="foo-t">
            <div class="foo-top">
                <div class="foo-one">
                    <ul>
                        <li>
                            <a target="_blank" href="business.html">业务模式</a>
                            <a target="_blank" href="anenst.html">关于我们</a>
                        </li>
                        <li>
                            <a target="_blank" href="secure.html">安全保障</a>
                            <a target="_blank" href="help-center.html">常见问题</a>
                        </li>
                        <li>
                            <a target="_blank" href="Franchise-chain.html">连锁加盟</a>
                            <a target="_blank" href="Franchise-chain.html">合作伙伴</a>
                        </li>
                    </ul>
                </div>
                <div class="foo-two">
                    <p>客服邮箱：kefu@bjdiandaitong.com</p>
                    <p><i class="tel"></i><b>400-050-3015</b></p>
                    <p>工作日：09:00~18:00 - 节假日：09:00~18:00</p>
                </div>
                <div class="foo-three">
                    <p>微信扫一扫</p>
                    <i></i>
                </div>
            </div>
        </div>

        <div class="foo-f">
            <div class="foo-fotr">
                <p>©2015 北京市典贷通信息服务有限公司 京ICP备15026559号 &nbsp;&nbsp;&nbsp;&nbsp;<a
                        href="http://www.cnzz.com/stat/website.php?web_id=1255410260" title="站长统计"><em class=""><img
                        src="http://icon.cnzz.com/img/pic.gif" alt=""></em></a></p>
                <p>北京市海淀区上地国际创业园2号院一号楼17层</p>
                <p>市场有风险 投资需谨慎</p>
                <div class="certification">
                    <a href="javascript:;"><i class="cer-1" title="诚信网站"></i></a>
                    <a href="javascript:;"><i class="cer-2" title="互联网金融行业认证"></i></a>
                    <a href="javascript:;"><i class="cer-3" title="行业认证"></i></a>
                    <a href="javascript:;"><i class="cer-4" title="360网站安全监测"></i></a>
                </div>
            </div>
        </div>
    </div>
</div>
<!--footer结束-->


<script>
    $(window).load("value.json",function (data) {
        var json = eval("("+data+")"); //数组
        $.each(json, function (index, item) {
            //循环获取数据
            var name = item[1].name;
            var value = item[1].val;
            console.log(name);
            console.log(value);

            /*抵押标*/
            var Mortgage = parseInt(item[0].val) + 0;
            /*信用标*/
            var Credit = parseInt(item[1].val) + 0;
            /*担保标*/
            var Security = parseInt(item[2].val) + 0;
            /*质押标*/
            var Pledge = parseInt(item[3].val) + 0;
            /*新手标*/
            var Novice = parseInt(item[4].val) + 0;

            /*1-3月*/
            var one_three = parseInt("1226") + 0;
            /*4-6月*/
            var four_six = parseInt("565") + 0;
            /*7-12月*/
            var seven_twele = parseInt("318") + 0;

            /*18-25岁*/
            var eight_twefive = parseInt("22") + 0;
            /*25-35岁*/
            var twefive_thirdfive = parseInt("45") + 0;
            /*35-45岁*/
            var thirdfive_fourtive = parseInt("16") + 0;
            /*45以上*/
            var fourtive = parseInt("17") + 0;

            /*男*/
            var boys = parseInt("77") + 0;
            /*女*/
            var girls = parseInt("23") + 0;


            // 项目类型分布
            var myChart = echarts.init(document.getElementById('type-data'));
            var option = {
                tooltip: {
                    trigger: 'item',
                    formatter: "{b} : {c}个 ({d}%)"
                },
                series: [
                    {
                        name: '',
                        type: 'pie',
                        radius: '55%',
                        center: ['50%', '50%'],
                        data: [
                            {value: Novice, name: item[4].name},
                            {value: Mortgage, name: item[0].name},
                            {value: Pledge, name: item[3].name},
                            {value: Security, name: item[2].name},
                            {value: Credit, name: item[1].name}
                        ],
                        itemStyle: {
                            emphasis: {
                                shadowBlur: 10,
                                shadowOffsetX: 0,
                                shadowColor: 'rgba(0, 0, 0, 0.5)'
                            }
                        }
                    }
                ]
            };
            myChart.setOption(option);

            //项目期限分布
            var item_date = echarts.init(document.getElementById('date-data'));
            var option = {
                tooltip: {
                    trigger: 'item',
                    formatter: "{b} : {c}个 ({d}%)"
                },
                series: [
                    {
                        name: '',
                        type: 'pie',
                        radius: '55%',
                        center: ['50%', '50%'],
                        data: [
                            {value: four_six, name: '4-6个月'},
                            {value: seven_twele, name: '7-12个月'},
                            {value: one_three, name: '1-3个月'},
                        ],
                        itemStyle: {
                            emphasis: {
                                shadowBlur: 10,
                                shadowOffsetX: 0,
                                shadowColor: 'rgba(0, 0, 0, 0.5)'
                            }
                        }
                    }
                ]
            };
            item_date.setOption(option);
            //年龄
            var item_date = echarts.init(document.getElementById('age-data'));
            var option = {
                color: ['#abdfec'],
                tooltip: {
                    trigger: 'axis',
                    axisPointer: {            // 坐标轴指示器，坐标轴触发有效
                        type: 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
                    }
                },
                grid: {
                    left: '10%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                xAxis: [
                    {
                        type: 'category',
                        data: ['18-25岁', '25-35岁', '35-45岁', '45岁以上'],
                        axisTick: {
                            alignWithLabel: true
                        }
                    }
                ],
                yAxis: [
                    {
                        type: 'value',
                        axisLabel: {
                            show: true,
                            interval: 'auto',
                            formatter: '{value} %'
                        }
                    }
                ],
                series: [
                    {
                        label: {
                            normal: {
                                show: true,
                                position: 'top',
                                formatter: "{c}%"
                            }
                        },
                        name: '投资人数占比',
                        type: 'bar',
                        barWidth: '60%',
                        formatter: "{c}%",
                        data: [eight_twefive, twefive_thirdfive, thirdfive_fourtive, fourtive]
                    }
                ]
            };
            item_date.setOption(option);
            //性别
            var item_date = echarts.init(document.getElementById('sex-data'));
            var option = {
                tooltip: {
                    trigger: 'axis'
                },
                legend: {
                    data: ['女', '男']
                },

                calculable: false,
                xAxis: [
                    {
                        type: 'category',
                        data: []
                    }
                ],
                grid: {
                    left: '10%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                yAxis: [
                    {
                        type: 'value',
                        axisLabel: {
                            show: true,
                            interval: 'auto',
                            formatter: '{value} %'
                        }
                    }
                ],
                series: [
                    {
                        label: {
                            normal: {
                                show: true,
                                position: 'top',
                                formatter: "{c}%"
                            }
                        },
                        name: '女',
                        type: 'bar',
                        data: [girls]
                    },
                    {
                        label: {
                            normal: {
                                show: true,
                                position: 'top',
                                formatter: '{c} %'
                            }
                        },
                        name: '男',
                        type: 'bar',
                        data: [boys]
                    }
                ]
            };
            item_date.setOption(option);

        });
    });


</script>
</body>
</html>